package com.bytz.modules.cms.order.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author shanxuezhong
 */
@Data
public class OrderDesignFlowRuleIn {
    @ApiModelProperty("主键")
    @NotNull(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "节点名称", notes = "传这个参数用于保存脚本时如果报错，提示用户哪个节点的有问题")
    private String activityName;

    @ApiModelProperty("脚本")
    private String script;

    @ApiModelProperty(value = "版本", notes = "必须要传")
    private Integer version;
}
